package com.atguigu.lease;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 51560
 * @project lease
 * @title web-admin启动类
 * @package com.atguigu.lease
 * @since 2025/5/5 15:14
 */
@SpringBootApplication
@EnableTransactionManagement    // 开启事务控制
@EnableScheduling   // 开启定时任务
public class AdminWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminWebApplication.class, args);
    }
}
